package com.mikey.springcloud.mapper;

import com.mikey.springcloud.pojo.Category;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author :Mikey
 * @description :
 * @create :2022-08-29 18:33:00
 */
@Mapper
@Repository
public interface CategoryMapper {
//    增删改查
    int insert(Category category);
    int delete(Integer id);
    int update(Category category);
    Category selectOne(Integer id);
    List<Category> selectAll();
}